extends layout

block contents
  .d-flex.flex-column.justify-content-center.align-items-center(style="height:100vh")
    form.mx-atuo(action='/login', method='post')
      .form-group.row
        label.col-12.col-md-4 用户
        input.col-12.col-md-8.form-control(type='text', name='username')
      .form-group.row
        label.col-12.col-md-4 密码
        input.col-12.col-md-8.form-control(type='password', name='password')
      .row
        .col-12.offset-md-4.col-md-4
          button.btn.btn-primary.btn-block(type='submit') 登录  